home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
autofx
/
adjust_rgb.ifx
< prev
next >
Wrap
Text File
|
2004-08-03
|
511b
|
26 lines
/*
* Adjust_RGB.ifx
* Script to alter the red, green, and/or blue values
* of pixels in an image: The PreScript sets up the
* ImpAlterRGBParameters clip variable with the
* RGB deltas.
*
* by Steve Tibbett
*/
Options Results
SeqNum=Word(Arg(1),4);
Settings=GetClip("ImpAdjustRGBParameters"SeqNum);
if (Settings="") then do
RequestNotify "ImpAdjustRGBParameters invalid in ImpAdjustRGB.ifx"
return 20
End
Parse Var Settings R G B
If (R~=0) then Red R
If (G~=0) then Green G
If (B~=0) then Blue B